package cn.xshi.common.entity;
import cn.xshi.common.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @Desc 行政区划
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
@Data
@ApiModel(value="行政区划对象", description="行政区划")
public class AreaRegionEntity extends BaseEntity {

    @ApiModelProperty(value = "id")
    @JsonProperty(value = "id")
    private String id;/**id编号**/

    @ApiModelProperty(value = "父级ID")
    @JsonProperty(value = "parentId")
    private String parentId;/**父级id**/

    @ApiModelProperty(value = "政行编码")
    @JsonProperty(value = "code")
    private String code;/**政行编码**/

    @ApiModelProperty(value = "名称")
    @JsonProperty(value = "name")
    private String name;/**名称**/

    @ApiModelProperty(value = "行政级别")
    @JsonProperty(value = "regionLevel")
    private int regionLevel;/**行政级别**/

    @ApiModelProperty(value = "英文")
    @JsonProperty(value = "nameEn")
    private String nameEn;/**英文**/

    @ApiModelProperty(value = "经度")
    @JsonProperty(value = "longitude")
    private double longitude;/**经度**/

    @ApiModelProperty(value = "纬度")
    @JsonProperty(value = "latitude")
    private double latitude;/**纬度**/
}
